import { Pipe, PipeTransform } from '@angular/core';
import { environment } from 'src/environments/environment';

@Pipe({
  name: 'imagePreview'
})
export class ImagePreviewPipe implements PipeTransform {

  transform(fileId: any, args?: any): any {
    return environment.downloadUrl + fileId;
  }

}
